/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.maxato.domain;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

/**
 *
 * @author Fam Gloudemans
 */
public class Athlete {

    @XmlElement(name = "event")
    List<Event> events;
    @XmlAttribute
    int id;
    String name;
    String surname;
    int sex;
    int age;
    int nationId;
    int owner;
    int wage;
    int height;
    int weight;
    int fans;
    Sponsor sponsor;
    int maxid;
    int form;
    int care;
    int experience;
    int mood;
    int specialtyId;
    int favoriteEventId;
    int strenght;
    int stamina;
    int speed;
    int agility;
    int jump;
    int throwing;
    int specialty1;
    int specialty2;
    int coachId;
    int injury;
    String sell;
    int youth;
    int specialtyIdTrained;
    int totalValueDiscipline;

    public Athlete() {
    }

    public Athlete(int id, List<Event> evt) {
        this.id = id;
        this.events = evt;
    }

    public Athlete(int athleteId, String name, String surname, int sex, int age, int nationId, int owner, int wage, int height, int weight, int fans, Sponsor sponsor, int maxid, int form, int care, int experience, int mood, int specialtyId, int favoriteEventId, int strenght, int stamina, int speed, int agility, int jump, int throwing, int specialty1, int specialty2, int coachId, int injury, String sell, int youth, int specialtyIdTrained) {
        this.id = athleteId;
        this.name = name;
        this.surname = surname;
        this.sex = sex;
        this.age = age;
        this.nationId = nationId;
        this.owner = owner;
        this.wage = wage;
        this.height = height;
        this.weight = weight;
        this.fans = fans;
        this.sponsor = sponsor;
        this.maxid = maxid;
        this.form = form;
        this.care = care;
        this.experience = experience;
        this.mood = mood;
        this.specialtyId = specialtyId;
        this.favoriteEventId = favoriteEventId;
        this.strenght = strenght;
        this.stamina = stamina;
        this.speed = speed;
        this.agility = agility;
        this.jump = jump;
        this.throwing = throwing;
        this.specialty1 = specialty1;
        this.specialty2 = specialty2;
        this.coachId = coachId;
        this.injury = injury;
        this.sell = sell;
        this.youth = youth;
        this.specialtyIdTrained = specialtyIdTrained;
    }

    public Athlete(int totalValueDiscipline, int athleteId, String name, String surname, int sex, int age, int nationId, int height, int weight, int maxid, int form, int care, int experience, int strenght, int stamina, int speed, int agility, int jump, int throwing, int specialty1, int specialty2, int injury, int youth) {
        this.totalValueDiscipline = totalValueDiscipline;
        this.id = athleteId;
        this.name = name;
        this.surname = surname;
        this.sex = sex;
        this.age = age;
        this.nationId = nationId;
        this.height = height;
        this.weight = weight;
        this.maxid = maxid;
        this.form = form;
        this.care = care;
        this.experience = experience;
        this.strenght = strenght;
        this.stamina = stamina;
        this.speed = speed;
        this.agility = agility;
        this.jump = jump;
        this.throwing = throwing;
        this.specialty1 = specialty1;
        this.specialty2 = specialty2;
        this.injury = injury;
        this.youth = youth;
    }

    public int getIdOfAthlete() {
        return id;
    }

    public void setIdOfAthlete(int athleteId) {
        this.id = athleteId;
    }

    public int getTotalValueDiscipline() {
        return totalValueDiscipline;
    }

    public void setTotalValueDiscipline(int totalValueDiscipline) {
        this.totalValueDiscipline = totalValueDiscipline;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getAgility() {
        return agility;
    }

    public void setAgility(int agility) {
        this.agility = agility;
    }

    public int getCare() {
        return care;
    }

    public void setCare(int care) {
        this.care = care;
    }

    public int getCoachId() {
        return coachId;
    }

    public void setCoachId(int coachId) {
        this.coachId = coachId;
    }

    public int getExperience() {
        return experience;
    }

    public void setExperience(int experience) {
        this.experience = experience;
    }

    public int getFans() {
        return fans;
    }

    public void setFans(int fans) {
        this.fans = fans;
    }

    public int getFavoriteEventId() {
        return favoriteEventId;
    }

    public void setFavoriteEventId(int favoriteEventId) {
        this.favoriteEventId = favoriteEventId;
    }

    public int getForm() {
        return form;
    }

    public void setForm(int form) {
        this.form = form;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getInjury() {
        return injury;
    }

    public void setInjury(int injury) {
        this.injury = injury;
    }

    public int getJump() {
        return jump;
    }

    public void setJump(int jump) {
        this.jump = jump;
    }

    public int getMaxid() {
        return maxid;
    }

    public void setMaxid(int maxid) {
        this.maxid = maxid;
    }

    public int getMood() {
        return mood;
    }

    public void setMood(int mood) {
        this.mood = mood;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNationId() {
        return nationId;
    }

    public void setNationId(int nationId) {
        this.nationId = nationId;
    }

    public int getOwner() {
        return owner;
    }

    public void setOwner(int owner) {
        this.owner = owner;
    }

    public String getSell() {
        return sell;
    }

    public void setSell(String sell) {
        this.sell = sell;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getSpecialty1() {
        return specialty1;
    }

    public void setSpecialty1(int specialty1) {
        this.specialty1 = specialty1;
    }

    public int getSpecialty2() {
        return specialty2;
    }

    public void setSpecialty2(int specialty2) {
        this.specialty2 = specialty2;
    }

    public int getSpecialtyId() {
        return specialtyId;
    }

    public void setSpecialtyId(int specialtyId) {
        this.specialtyId = specialtyId;
    }

    public int getSpecialtyIdTrained() {
        return specialtyIdTrained;
    }

    public void setSpecialtyIdTrained(int specialtyIdTrained) {
        this.specialtyIdTrained = specialtyIdTrained;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public Sponsor getSponsor() {
        return sponsor;
    }

    public void setSponsor(Sponsor sponsor) {
        this.sponsor = sponsor;
    }

    public int getStamina() {
        return stamina;
    }

    public void setStamina(int stamina) {
        this.stamina = stamina;
    }

    public int getStrenght() {
        return strenght;
    }

    public void setStrenght(int strenght) {
        this.strenght = strenght;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public int getThrowing() {
        return throwing;
    }

    public void setThrowing(int throwing) {
        this.throwing = throwing;
    }

    public int getWage() {
        return wage;
    }

    public void setWage(int wage) {
        this.wage = wage;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getYouth() {
        return youth;
    }

    public void setYouth(int youth) {
        this.youth = youth;
    }

    public List<Event> getEventsArrayList() {
        return events;
    }

    public void setEventsArrayList(List<Event> events) {
        this.events = events;
    }
}
